From e39ca899ad3b1e26ae84779f611e560d5b85f080 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 23 Oct 2015 15:41:05 -0400 Subject: [PATCH] Adwaita: Update for entry icon changes --- gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++++------ gtk/theme/Adwaita/gtk-contained.css | 12 ++++++------ 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 97931bf65c..edf8f70660 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -223,7 +223,7 @@ entry { border: 1px solid; padding: 5px 8px 6px; - &.image { // icons inside the entry + & image { // icons inside the entry &.left { padding-left: 0; } &.right { padding-right: 0; } } @@ -281,7 +281,7 @@ entry { } } - &.image { // entry icons colors + & image { // entry icons colors color: mix($fg_color, $base_color, 80%); &:hover { color: $fg_color; } &:active { color: $selected_bg_color; } diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index e31630fba1..533eb9b8c0 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -162,9 +162,9 @@ entry { color: white; border-color: #1c1f1f; box-shadow: inset 0 0 0 1px rgba(33, 93, 156, 0), 0 1px rgba(238, 238, 236, 0.1); } - entry.image.left { + entry image.left { padding-left: 0; } - entry.image.right { + entry image.right { padding-right: 0; } entry.flat, entry.flat:focus { padding: 2px; @@ -234,13 +234,13 @@ entry { border-color: #432100; } entry.warning:selected, entry.warning:selected:focus { background-color: #f57900; } - entry.image { + entry image { color: #c7c7c5; } - entry.image:hover { + entry image:hover { color: #eeeeec; } - entry.image:active { + entry image:active { color: #215d9c; } - entry.image:backdrop { + entry image:backdrop { color: #7f8281; } .osd entry { background-color: transparent; diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 5bc82034db..0a67641e15 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -162,9 +162,9 @@ entry { color: black; border-color: #a1a1a1; box-shadow: inset 0 0 0 1px rgba(74, 144, 217, 0), 0 1px white; } - entry.image.left { + entry image.left { padding-left: 0; } - entry.image.right { + entry image.right { padding-right: 0; } entry.flat, entry.flat:focus { padding: 2px; @@ -234,13 +234,13 @@ entry { border-color: #f57900; } entry.warning:selected, entry.warning:selected:focus { background-color: #f57900; } - entry.image { + entry image { color: #585d5e; } - entry.image:hover { + entry image:hover { color: #2e3436; } - entry.image:active { + entry image:active { color: #4a90d9; } - entry.image:backdrop { + entry image:backdrop { color: #a5a7a8; } .osd entry { background-color: transparent; -- 2.30.2